package xjtu.sad.zbsj.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务领取记录表(TDraw)实体类
 *
 * @author makejava
 * @since 2021-12-04 00:04:27
 */
public class TDraw implements Serializable {
    private static final long serialVersionUID = -63977328377528895L;

    private Integer drawId;

    private Integer userId;

    private Integer taskId;
    /**
    * 用户任务领取时间
    */
    private Date startTime;
    /**
    * 用户任务结束时间
    */
    private Date endTime;
    /**
    * 实际领取的任务数量
    */
    private Integer drawNum;

    /**
     * 采样数
     */
    private Integer sample;
    /**
    * 此次领取的任务的状态:未完成，已完成，已审核，超时退回，无效
    */
    private String drawStatus;
    /**
    * 获得积分数量
    */
    private Object credit;
    /**
    * 积分发放时间
    */
    private Date creditDistributeTime;
    /**
    * 当前任务的积分是否被领取,1被领取,0未被领取
    */
    private Object creditStatus;
    /**
    * 异常率 不带%展示时拼接
    */
    private Integer exceptionRate;
    /**
    * 正确率 不带%展示时拼接
    */
    private Integer rightRate;


    public Integer getDrawId() {
        return drawId;
    }

    public void setDrawId(Integer drawId) {
        this.drawId = drawId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getDrawNum() {
        return drawNum;
    }

    public void setDrawNum(Integer drawNum) {
        this.drawNum = drawNum;
    }

    public String getDrawStatus() {
        return drawStatus;
    }

    public void setDrawStatus(String drawStatus) {
        this.drawStatus = drawStatus;
    }

    public Object getCredit() {
        return credit;
    }

    public void setCredit(Object credit) {
        this.credit = credit;
    }

    public Date getCreditDistributeTime() {
        return creditDistributeTime;
    }

    public void setCreditDistributeTime(Date creditDistributeTime) {
        this.creditDistributeTime = creditDistributeTime;
    }

    public Object getCreditStatus() {
        return creditStatus;
    }

    public void setCreditStatus(Object creditStatus) {
        this.creditStatus = creditStatus;
    }

    public Integer getExceptionRate() {
        return exceptionRate;
    }

    public void setExceptionRate(Integer exceptionRate) {
        this.exceptionRate = exceptionRate;
    }

    public Integer getRightRate() {
        return rightRate;
    }

    public void setRightRate(Integer rightRate) {
        this.rightRate = rightRate;
    }

    public Integer getSample() {
        return sample;
    }

    public void setSample(Integer sample) {
        this.sample = sample;
    }
}
